package com.quyunshuo.module.home.provider

import androidx.lifecycle.LiveData
import com.quyunshuo.androidbaseframemvvm.network.bean.UserInfo

object UserServiceProvider {

    fun getUserLiveData(): LiveData<UserInfo> =
        UserManager.getUserLiveData()

    /**
     * 保存用户信息
     * @param user
     */
    fun saveUserInfo(user: UserInfo) {
        UserManager.saveUserInfo(user)
    }

}